//
// EpollClientFactory.h
//
// $Id: //poco/1.4/Net/include/Poco/Net/EpollClientFactory.h#1 $
//
// Library: Net
// Package: TCPServer
// Module:  EpollClientFactory
//
// Definition of the EpollClientFactory class.
//
// Copyright (c) 2005-2006, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// SPDX-License-Identifier:	BSL-1.0
//


#ifndef Net_EpollClientFactory_INCLUDED
#define Net_EpollClientFactory_INCLUDED


#include "Poco/Net/Net.h"
#include "Poco/Net/EpollClientSocket.h"

namespace Poco {
namespace Net {


class Net_API EpollClientFactory
	/// A factory for EpollClientSocket objects.
{
public:
	virtual ~EpollClientFactory(){}
		/// Destroys the EpollClientFactory.

	virtual EpollClientSocket* createClientSocket(int fd) = 0;
		/// Creates an instance of a subclass of EpollClientSocket,
		/// using the given fd.

	EpollClientFactory(){}
		/// Creates the EpollClientFactory.

private:
	EpollClientFactory(const EpollClientFactory&);
	EpollClientFactory& operator = (const EpollClientFactory&);
};

} } // namespace Poco::Net


#endif // Net_EpollClientFactory_INCLUDED
